package com.zrrd.learn.chapter08面向对象.objectorientedpolymorphic;

/**
 * 动物类
 *
 * @author wrn
 * @version 1.0
 * @date 2023/7/28 8:35
 */

public class Animals {

    public void eat(){
        System.out.println("动物会吃东西");
    }
    public void run(){
        System.out.println("动物会跑");
    }

}
